package com.devops.center.controller;

import com.devops.entity.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/uc")
public class UmsCenter {

    @GetMapping("/getUser")
    @ResponseBody
    public User getUser(){
        User user = new User();
        user.setUid(1);
        user.setUname("bml");
        return user;
    }
}
